#define _CRT_SECURE_NO_WARNINGS 1

#include"list.h"

int main()
{


	 ListNode* plist = InitList();

	ListPushFront(plist, 5);
	ListPrint(plist);
	ListPushBack(plist, 8);
	ListPrint(plist);
	ListPopFront(plist);
	ListPrint(plist);
	ListPushFront(plist, 9);
	ListNode* ret = ListFind(plist, 8);
	ListInsert(ret, 10);
	ListPrint(plist);

	return 0;
}
